Total Complexity | 40 |
Dependencies | 8 |
Dependents | 3 |
Total lines | 367 |
Lines of code | 157 |
Logical lines of code | 76 |
Comment lines | 157 |
Methods | 17 |
Properties | 8 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_menu_slug() | 52 | 7 | 23 | |
get_menu_url() | 55 | 7 | 19 | |
is_pro_type() | 77 | 4 | 3 | |
load_plugin() | 55 | 2 | 19 | |
disable_snippet_execution() | 77 | 3 | 3 | |
get_cap() | 65 | 3 | 9 | |
__construct() | 60 | 2 | 12 | |
localize_script() | 54 | 1 | 22 | |
is_compact_menu() | 78 | 2 | 3 | |
add_safe_mode_query_var() | 72 | 2 | 5 | |
get_types() | 59 | 1 | 14 | |
get_snippet_edit_url() | 69 | 1 | 7 | |
current_user_can() | 80 | 1 | 3 | |
get_cap_name() | 79 | 1 | 3 | |
get_network_cap_name() | 79 | 1 | 3 | |
init_rest_api() | 77 | 1 | 4 | |
allow_code_snippets_redirect() | 74 | 1 | 5 |